package forum

class Thread {

    static hasMany = [listaPost : Post]
    //List<Post> listaPost;
    List<Tag> tagList;
    Course course;
    Post question;
    List<User> users;

    static constraints={
        question(blanck: false)
        tagList(blanck: false)
        users(blanck: false)
        course(blanck: false)

    }
}
